-
Notifications
You must be signed in to change notification settings - Fork 201
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature/#275] animated topAppBar #293
[Feature/#275] animated topAppBar #293
Conversation
|
||
@OptIn(ExperimentalMaterial3Api::class) | ||
@Composable | ||
fun AnimatedTextTopAppBar( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Detekt check failed. Please run |
Snapshot diff report
|
Thank you for your contribution. The animation is awesome. However, our designer prefers the #292 animation. Could you use AnimatedLargeTopAppBar instead? |
Sure! However, #292 uses a LargeTopAppBar with an icon at the top, while #293 uses a TopAppBar without an icon. If we use the AnimatedLargeTopAppBar as is, it will include a back icon at the top. Even if we set the icon to be optional and hide it, there will still be unnecessary padding. So, instead of using AnimatedLargeTopAppBar, I used a custom component that I created and added the same fade-in and fade-out animations as in #292. What do you think about this approach? @takahirom |
Sounds good! That would be appreciated! |
Thank you for your contribution! |
Issue
Overview (Required)
AnimatedTextTopAppBar
and applyabout feature
Links
Movie (Optional)
before.mp4
new_animation.mp4